package io.github.heollhai.common.entity.request.publicRequest;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;

import java.util.List;

/**
 * @Author: lmf
 * @Create: 2024/8/8 14:40
 * Description: 将id绑定到其他数据的id上
 */
@Getter
public class PublicBindingIdRequest {
    @Schema(description = "目标id")
    @NotNull(message = "目标id不能为空")
    private Integer targetId;
    @Schema(description = "绑定的id")
    @NotNull(message = "绑定的id不能为空")
    private List<Integer> bindingIds;

}
